<?php
/**
 * Created by PhpStorm.
 * User: KHACHUNG
 * Date: 4/4/14
 * Time: 9:32 AM
 */
class Khoa extends AppModel{
    var $name='Khoa';
    var $hasAndBelongsToMany=array(
        'Hedaotao'=>array(
            'className'=>'Hedaotao',
            'joinTable'=>'hedaotaos_khoas',
            'foreignKey'=>'khoa_id',
            'associationForeignKey'=>'hedaotao_id',
            'unique'=>true
        )
    );


}